<template>
	<view>
		<u-navbar :is-fixed="true" :title="$t('ucarts.卡号查询')" back-icon-name="arrow-leftward">
			<view class="slot-wrap greenbg heigh150">
				<view class="u-navbar-centent-slot"><!-- <text>购卡中心</text> --></view>
			</view>
		</u-navbar>
		<view class="cartquery">
			<view class="query100">
				<view class="queryfrom mt50">
					<view class="querlabel">
						<text>{{$t('ucarts.卡号')}}</text>
					</view>
					<view class="queryinput">
						<input type="number" />
					</view>
				</view>
				<view class="queryfrom">
					<view class="querlabel">
						<text>{{$t('ucarts.卡密')}}</text>
					</view>
					<view class="queryinput">
						<input type="number" />
					</view>
				</view>
				<button class="querybutton"><text class="font-35">{{$t('ucarts.查询')}}</text></button>
			</view>
			<view class="queryresults">
				<view class="resultstext">
					<view class="resultstextleft"><text>{{$t('ucarts.激活机')}}</text></view>
					<view class="resultstextright">126465234564</view>
				</view>
				<view class="resultstext">
					<view class="resultstextleft"><text>{{$t('ucarts.激活时间')}}</text></view>
					<view class="resultstextright">2021年7月1日 16点47分</view>
				</view>
				<view class="resultstext">
					<view class="resultstextleft"><text>{{$t('ucarts.机器型号')}}</text></view>
					<view class="resultstextright">oppo A57</view>
				</view>
				<view class="resultstext">
					<view class="resultstextleft"><text>{{$t('ucarts.卡类型')}}</text></view>
					<view class="resultstextright">季卡</view>
				</view>
				<view class="resultstext">
					<view class="resultstextleft"><text>{{$t('ucarts.代理编号')}}</text></view>
					<view class="resultstextright">ST68535</view>
				</view>
			</view>
			<view class="querycopy">
				<button class="copybutton"><text class="font-35">{{$t('ucarts.复制ID')}}</text></button>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				lang: this.$i18n.locale,
			}
		},
		methods: {
			
		}
	}
</script>

<style>
	.query100{
		margin-top: 100rpx;
	}
.queryresults{
	width: 600rpx;
	display: block;
	padding: 20rpx;
	border-radius: 15rpx;
	background: #eaeaea;
	margin: 20rpx auto;
}
.resultstext{
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
}

.querycopy{
	width: 600rpx;
	display: block;
	margin: 0 auto;
	position: relative;
}
.copybutton{
	width: fit-content;
	height: 60rpx;
	line-height: 55rpx;
	padding: 0 30rpx;
	margin: 0 auto;
	background: #1794F4;
	color: #FFFFFF;
	text-align: center;
	border-radius: 200rpx;
	border: none;
	position: absolute;
	right: 0;
	top: 0;
}

.resultstextleft{
	width: 200rpx;
	height: 60rpx;
	line-height: 55rpx;
	text-align: right;
	display: inline-block;
}
.resultstextright{
	width: 400rpx;
	height: 60rpx;
	line-height: 60rpx;
	display: inline-block;
}

.querybutton{
	width: fit-content;
	height: 60rpx;
	line-height: 60rpx;
	padding: 0 30rpx;
	margin: 0 auto;
	background: #0bd34e;
	color: #FFFFFF;
	text-align: center;
	border-radius: 200rpx;
	border: none;
	margin-top: 20rpx;
}
.mt50{
	margin-top: 50rpx;
}
.cartquery{
	width: 700rpx;
	display: block;
	margin: 0 auto;
}
.queryfrom{
	width: 600rpx;
	margin: 0rpx auto;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
}
.querlabel{
	width: 30%;
	height: 80rpx;
	display: inline-block;
	text-align: right;
	line-height: 55rpx;
}
.queryinput{
	width: 70%;
	height: 80rpx;
	display: inline-block;
	line-height: 80rpx;
}
.queryinput input{
	width: 300rpx;
	height: 60rpx;
	background: #eaeaea;
	border-radius: 15rpx;
	border: none;
	text-align: left;
	padding-left: 10rpx;
}
</style>
